// 表单数据
export let formValidate = {
  name: '',
  orderNum: '',
  deptId: null,
  parentId: null,
  parentName: null,
};

// 表单验证规则
export let ruleValidate = {
  name: [{required: true, message: "部门名称不能为空", trigger: "blur"}],
  orderNum: [{required: true, type: 'number', message: "序号不能为空，且必须为数字", trigger: "blur"}],
};